{ifp 'statistics.sale|statistics.sale_analysis|statistics.order'}
<div class='menu-header'>数据中心</div>
<ul>
	
	
    {ifp 'statistics.sale'}
    	<li {if $_W['action'] == 'statistics.sale'}class="active"{/if}><a href="{php echo webUrl('statistics/sale')}"><i class="fa fa-line-chart"></i>销售统计</a></li>
    {/if}
	<!-- 订单管理 -->
	{ifp 'order'}<li {if $_W['action'] == 'order'} class="active" {/if}><a href="{php echo webUrl('order')}"><i class="fa fa-file-word-o"></i>订单管理</a></li>{/if}

    {ifp 'statistics.sale_analysis'}
    	<li {if $_W['action'] == 'statistics.sale_analysis'}class="active"{/if}><a href="{php echo webUrl('statistics/sale_analysis')}"><i class="fa fa-area-chart"></i>销售指标</a></li>
    {/if}
    {ifp 'statistics.order'}
    	<li {if $_W['action'] == 'statistics.order'}class="active"{/if}><a href="{php echo webUrl('statistics/order')}"><i class="fa fa-list"></i>订单统计</a></li>
    {/if}

</ul>
{/if}
{ifp 'statistics.goods|statistics.goods_rank|statistics.goods_trans'}

<ul>
     {ifp 'statistics.goods'}
     	<li {if $_W['action'] == 'statistics.goods'}class="active"{/if}><a href="{php echo webUrl('statistics/goods')}"><i class="fa fa-list"></i>销售明细</a></li>
     {/if}
    {ifp 'statistics.goods_rank'}
    	<li {if $_W['action'] == 'statistics.goods_rank'}class="active"{/if}><a href="{php echo webUrl('statistics/goods_rank')}"><i class="fa fa-money"></i>销售排行</a></li>
    {/if}
    {ifp 'statistics.goods_trans'}
    	<li {if $_W['action'] == 'statistics.goods_trans'}class="active"{/if}><a href="{php echo webUrl('statistics/goods_trans')}"><i class="fa fa-street-view"></i>销售转化率</a></li>
    {/if}
</ul>  
{/if}
{ifp 'statistics.member_cost|statistics.member_increase'}
<div class='menu-header'>会员统计</div>
<ul>
    {ifp 'statistics.member_cost'}
    	<li {if $_W['action'] == 'statistics.member_cost.view'}class="active"{/if}><a href="{php echo webUrl('statistics/member_cost')}"> <i class="fa fa-book"></i>消费排行</a></li>
    {/if}
    {ifp 'statistics.member_increase'}
    	<li {if $_W['action'] == 'statistics.member_increase.view'}class="active"{/if}><a href="{php echo webUrl('statistics/member_increase')}"><i class="fa fa-line-chart"></i>增长趋势</a></li>
    {/if}
</ul>
{/if}